import request from '@/utils/request'

/**
 * 用户端分页查询留言数据
 * @param {*} query 
 * @returns 
 */
export const getWallPageService = (query) => {
    return request.get('/user/wall/page', {
        params: query
    })
}

/**
 * 用户端获取留言背景色
 * @returns 
 */
export const getWallBgcListService = () => {
    return request.get('/user/wall/bgc')
}

/**
 * 用户端新增留言信息
 * @param {*} query 
 * @returns 
 */
export const userAddMessageService = (query) => {
    return request.post('/user/wall/add', query)
}